﻿package szys;

import java.util.ArrayList;
import java.util.List;

public class QA_List {

	public static int i;
	public static List<String> Qusetion = new ArrayList<String>();
	public static List<String> Answer = new ArrayList<String>();

	public QA_List() {
		ArrayList<ExpAndAns> exSet = Arithmetic.generateExps(i);
		for (int j = 0; j < i; j++) {
			Answer.add(exSet.get(j).getAns().toString());
			Qusetion.add(exSet.get(j).getExp());
		}
		for (int a = 0; a < (10 - i); a++) {
			Answer.add("");
			Qusetion.add("");
		}
	}

}
